UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The ESXi host must not enable log filtering.


Overview

Finding ID Version Rule ID IA Controls Severity
V-258800 ESXI-80-000246 SV-258800r933461_rule Medium
Description
The log filtering capability allows users to modify the logging policy of the syslog service that is running on an ESXi host. Users can create log filters to reduce the number of repetitive entries in the ESXi logs and to deny specific log events entirely. Setting a limit to the amount of logging information restricts the ability to detect and respond to potential security issues or system failures properly.
STIG Date
VMware vSphere 8.0 ESXi Security Technical Implementation Guide 2023-10-11

Details

Check Text ( C-62540r933459_chk )
From an ESXi shell, run the following command:

# esxcli system syslog config logfilter get

or

From a PowerCLI command prompt while connected to the ESXi host, run the following commands:

$esxcli = Get-EsxCli -v2
$esxcli.system.syslog.config.logfilter.get.invoke()

If "LogFilteringEnabled" is not set to "false", this is a finding.
Fix Text (F-62449r933460_fix)
From an ESXi shell, run the following command:

# esxcli system syslog config logfilter set --log-filtering-enabled=false

or

From a PowerCLI command prompt while connected to the ESXi host, run the following commands:

$esxcli = Get-EsxCli -v2
$arguments = $esxcli.system.syslog.config.logfilter.set.CreateArgs()
$arguments.logfilteringenabled = $false
$esxcli.system.syslog.config.logfilter.set.invoke($arguments)